import { myAxios } from '@apis/http';

//系统管理-字典类型-下拉
export const getDirListAPI = (params: any = {}) => {
  return myAxios({
    method: 'get',
    url: '/api/management/conf-sys-code/queryTypeList',
    params: {},
  });
};
//系统管理-字典类型-table
export const confSysCodeGetByCodeTypeAPI = (data: any = {}) => {
  return myAxios({
    method: 'post',
    url: '/api/management/conf-sys-code/queryPage',
    data,
  });
};
//系统管理-字典类型-修改
export const confSysCodeSaveOrUpdateAPI = (data: any = {}) => {
  return myAxios({
    method: 'post',
    url: '/api/management/conf-sys-code/saveOrUpdate',
    data,
  });
};
